mm: thp: fix pmd_bad() triggering in code paths holding mmap_sem read mode