fix gettext compile issues under win32

This stopped to compile the _win32-specific part, which needed a stdio.h included somewhere (which seemingly isn't the case anymore..?) - this fix uses the already provided errorstream for the error output, and removes the dependency on stdio.h.