Small backward comptability change to aacgm python wrapper to test for older python C API versions