x86_64: simplify the memtest parameter setting