Replace PyFLAC_type_Check functions with macro