bpo-40417: Fix deprecation warning in PyImport_ReloadModule (GH-19750)



I can add another commit with the new test case I wrote to verify that the warning was being printed before my change, stopped printing after my change, and that the function does not return null after my change.

Automerge-Triggered-By: @brettcannon
2 files changed