progs/tests: fix a couple bugs in the getprocaddress.c test