[PATCH v3 4/6] mm/thp: add THP allocation helper