hdf5: remove duplicate option

Add warnings for enable-threadsafe conflicts.