[PATCH AUTOSEL 5.4 17/23] sh: Fix build with CONFIG_UBSAN=y