setupapi/tests: Don't test functions directly when reporting GetLastError().