A proposal to demolish the old Yorkshire Bank building on a Sheffield road has been rejected by councillors.