The Burnley striker Andre Gray has apologised after homophobic tweets from 2012 in which he appeared to condone killing gay people were shared on social media