mm: thp: calculate the mapcount correctly for THP pages during WP faults