change magic_t pointer type for ctypes and remove an errorcheck

The value being returned by the magic_open call needs to be a LP_magic_set type, not just an integer. Also, removing the errcheck on magic_load allows magic_load to run without error. I used the code from file-5.15/python/magic.py to get it to work