fix HDFFV-8761:
allocating space for zero-length chunked dataset and asserting.



git-svn-id: https://svn.hdfgroup.uiuc.edu/hdf5/trunk@25392 dab4d1a6-ed17-0410-a064-d1ae371a2980