make: protect hypre cuda- and hip-specific build requirements
This fixes an issue in !7504 (diffs, comment 1890573993), where hipcc
being found in PATH
caused a --with-cuda
build of PETSc to try to compile src/mat/impls/hypre/hip/
source files.