[PATCH 5.10 153/157] static_call: Fix static_call_update() sanity check