Researcher finds racist and misogynistic terms in image library used to train AI