HCOLL: call hcoll_finalize and hcoll progress unregister in case of hcoll module query failures

fixed by Elena, reviewed by Val/Miked
cmr=v1.7.4:reviewer=ompi-rm1.7
OSHMEM: rework fortran support detection

fix the case, to enable oshmem-fortran when "with-shmem" was specified and "ompi-fortran" was enabled and happy.

fixed by Roman, reviewed by Miked

Refs #3763