[PATCH v2 5/7] mm/thp: add THP allocation helper