Instead of blindly dereferencing m_registered_observer_list, just use the add_registered_observer() helper. Fixes #22005