advapi32/tests: Fix valgrind warning.