[PATCH 6.11 180/245] resource,kexec: walk_system_ram_res_rev must retain resource flags