Pass CMAKE_BUILT_TYPE down to HDF5 build.

Change-Id: I0d47e05a0898d05ceb6e52580d42347d649f7437
Merge topic 'hdf5-build-type' into master

7f952001 Pass CMAKE_BUILT_TYPE down to HDF5 build.