You likely could land in NSW if you wanted to, ie for fuel.
select General for a QLD border pass. Follow the questions, when you get to “please select your situation” you would select “You arrived by air to a COVID-19 hotspot for the sole purpose of transiting through an airport and did not leave the confines of the airport” as that is probably the most correct.
get a G pass, don’t have to quarantine on return back in QLD.
You could always lodge one in advance, see what happens. If you end up with a Quarantine version instead, don’t land in NSW!