Re-introduce code to try to get GDI metafile replacement image

The code was commented out in 2009 (with any rationale lost from
version history) and then cleaned away in 2011. Re-introduce the bit
that tries FORMAT_GDIMETAFILE.

The other part was commented out in 2009 in CWS metropatch01_DEV300,
with any reasoning behind it lost in history, and then cleaned away in
2010. Re-introduce the bit that tries FORMAT_GDIMETAFILE. Seems to
work for data that produces a reasonably sized metafile.

Also limit the GDI metafile size to 100000 actions. Excel can copy huge
metafiles to the clipboard, with over 3 million of actions, which are
1) unusable, and 2) crash LibreOffice because of their size.

Change-Id: I80a4ed1681c3833ef1a4b595623387e9d136a774
OLE: Turn an OSL_ENSURE() into a real condition.

This is part of some STAMPIT workaround; no idea what it is, but for sure it
causes problems with PowerPoint OLE in Writer - so let's avoid updating if it
is not "STAMPIT".

Change-Id: I266b419ba3461c547f7ee8e447ef64a47a8511e8