FormatTools: add ImageMetadata getScale signature

No reason to require a Metadata object. This adds a getScale signature
that takes an ImageMetadata. The Metadata, int signature delegates to
the new method.