Brazil court makes homophobia a crime