tests: have getprocaddress return a return code

These minor changes allow getprocaddress to return an error code
in the case of test failure.  This allows the program to be integrated
into the piglit test suite.
1 file changed