A Burnley fan has been given a three-year football banning order for racially abusing Blackburn Rovers striker Makhtar Gueye.