A historic former Sheffield pub could be demolished to make way for flats.