HostCUDA.{cu,h}: consolidate buffer-deallocation in kernelSelect

This code probably needs more testing.