Your Australian passport will get you home just fine. Australia has no 6-month requirement for its own citizens - in fact, according to Timatic, even expired Australian passports can be accepted if the carrier obtains clearance.
Qatar doesn't have a 6-month requirement for transit passengers, so there's really no such requirement throughout your journey. Don't show your British passport at check-in because presumably, you won't have an ETA/visa attached.