valgrind: fix build with glibc 2.19