Fix a crash where the MallocViewer would query the ProcessState during
destruction (when the ProcessState no longer existed).