A report of people seen on the roof of a building close to a river in York sparked a callout from the emergency services.