Sunderland councillor Glenn Gibbins got a 12-month community order after a court ruled his Facebook post about Nigerians was grossly offensive.