faulthandler: fix unregister() if it is called before register()

Fix a crash: don't read from NULL.
2 files changed