x86: ensure we carry across the right flags on cloned mappings