exec: copy-and-paste the fixes into compat_do_execve() paths