Fix issue with external HDF5

In certain cases HDF5 sets HDF5_IS_PARALLEL flag and in other cases sets
HDF5_ENABLE_PARALLEL flag. Updated the logic to check for both.

Change-Id: If923d82d9cfbd40ea05322305d5790438e98ed4e
Merge topic 'fix_find_hdf5' into master

eb4019f2 Fix issue with external HDF5