petsc: switch hdf5 spec from --with-hdf5-dir to --with-hdf5-lib (#16376)
petsc: switch hdf5 spec from --with-hdf5-dir to --with-hdf5-lib (#16376)

This way - we can detect and use hdf5:hl,fortran - if enabled, but not require it as a dependency
LLNL/spack,LLNL/spack,iulian787/spack,iulian787/spack,LLNL/spack,iulian787/spack,LLNL/spack,iulian787/spack,LLNL/spack,iulian787/spack