x86/mm/pat: Change free_memtype() to support shrinking case