[io][HDF5File] remove `r+` mode from the valid mode

3 jobs for hdf5_scan_file_lock in 2 minutes and 33 seconds (queued for 1 second)