the patch comes from https://bugs.kde.org/show_bug.cgi?id=326724#c12 and may be the only work one for valgrind 3.9.0