[Toolkit.Graphics] Fix issue #374. Marshal.OffsetOf is crashing the CLR on WP81. Use same workaround as for WP8.