Py_CLEAR ref count for imported module so __del__ calls occur before hwgfx/host is cleaned up