fixed several memory leaks of local HD5Read buffers

Several local buffers used in calls to HD5Read were not deallocated before exiting the local scope. Most of these were added by commit a48a5409c84ec78cd6369beb9be6e1f25bf0a6f4.