An international Qantas flight bound for Melbourne was forced to turn back twice after pilots reported problems with the aircraft.