Plans to convert a Sunderland hot food takeaway into flats have been given the green light by council development chiefs.