Proposed plans to convert an office building in Leeds city centre into more than 100 student flats have been approved.