Scarborough Hospital’s ‘unsafe’ pathology building could be demolished and replaced with a new building if plans are approved by the council.