Fix GCC version test
This code was copied to WSClean and during review an error in the order of the version tests was discovered. This applies the same fix as used in WSClean.
This code was copied to WSClean and during review an error in the order of the version tests was discovered. This applies the same fix as used in WSClean.