memtest: C++11 fixes.