Brazil's Supreme Court has ruled that homophobia is now punishable by imprisonment.