A project to demolish a busy buffet restaurant in Reading to replace it with more than 100 apartments has cleared a crucial planning hurdle.