Remove compiler flags used to disable GCC optimisations. This is now resolved by -fno-delete-null-pointer-checks and -fno-lifetime-dse being turned on in the upstream build, after GCC >= 6 is detected.