Robert Hoddle, Surveyor-General