[PATCH v1 5/9] selftests/mm: Fix thuge-gen test bugs