[PATCH 2/6] dbghelp/tests: Preserve last error in process_get_kind().