Cyndi Lauper has taken to social media to defend her friend Sharon Osbourne as she faces allegations of racism.