Fixing warnings in utils/metadata when building under Windows/Cygwin

Builds under Cygwin and Linux with these changes
Indeed :-/ As is MonoLoadImage. I shall remove. Thanks again :)