Nigeria's Buhari, in last UN speech, raps leaders who extend term limits