coredump: sanitize the setting of signal->group_exit_code