[PATCH v3 4/8] selftests/mm: Fix thuge-gen test bugs