Fixed compiler warnings using gnu 4.8.1 

Tested: jam( intel, gnu, pgi)




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