Check for osmo_fsm_register() error return value