Stay compatible after the GCC PR fortran/29635 fix.