[PATCH 6.1 145/224] sh: sanitize the flags on sigreturn