Fix compile with valgrind hooks after vec4-stack changes