Fix more header warnings that could leak to an Urho3D application using maximum MSVC warning level.
Remote event registration is checked only when receiving.