kernel32/tests: Check last error before calling lstrcmpA() since it may reset GLE.