[PATCH 6.6 102/105] mm/ksm: fix flag-dropping behavior in ksm_madvise