[PATCH AUTOSEL 6.1 23/31] sh: Fix build with CONFIG_UBSAN=y