[PATCH 2/3] kernel32/tests: Correct ReplaceFileW error checking