Tell the Fortran compiler to write preprocessor output directly to a
file, as we do for the GNU compiler. The previous "redirect stdout"
approach could break during ABI detection with some
that add version information to stdout when called with
Fixes: #21828 (closed)