Fix potential crash in aligned_malloc.
Merge box:src/pycuda