ctypes backend: support allow-none for struct in args. Fixes #12