A pilot has carried out an emergency landing on a golf course in Australia.