Remove fprintf, set errno instead.

Remove the fprintf statements in the windows platform implementation of
the POSIX opendir function, and set errno with the error value instead.

Closes: AXIS2c-1674
diff --git a/util/src/platforms/windows/dir_windows.c b/util/src/platforms/windows/dir_windows.c
index 4436e00..fe0e19d 100644
--- a/util/src/platforms/windows/dir_windows.c
+++ b/util/src/platforms/windows/dir_windows.c
@@ -51,15 +51,14 @@
 		if (dwErr == ERROR_FILE_NOT_FOUND || dwErr == ERROR_PATH_NOT_FOUND
 						|| dwErr == ERROR_NO_MORE_FILES || dwErr == ERROR_NOT_READY)
 		{
-			fprintf(stderr, "FindFirstFile with unexpected result. Error code: %u\r\n", dwErr);
-
+            errno = dwErr;
 			dirp->finished = 1;
 		}
 		else
 		{
 			free(dirp);
 			free(filespec);
-			fprintf(stderr, "FindFirstFile failed. Error code: %u\r\n", dwErr);
+            errno = dwErr;
 			return NULL;
 		}
 	}