fixed htod not working with numpy scalar types

I realize you don't support this implementation anymore, however I think I managed to fix the bug that was mentioned in issue EasonLiao/CudaTree#3