papi: check existence of a fortran compiler (#15968)
papi: check existence of a fortran compiler (#15968)

fixes #5029
LLNL/spack,iulian787/spack,LLNL/spack,LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack,iulian787/spack,LLNL/spack,iulian787/spack