Fix support for void pointers in ctypes (regression in 0.9)