Fixes for Content Pipeline on Mac

Fixes a few compile issues under Mac.

The call to Bitmap.Clone does not work correctly on Mac, as it seems to ignore the PixelFormat and returns a bitmap with the same format as the origional, which causes crashes later on it the process. This has been swtiched over to use a new instance and a Graphics.Draw as this is more reliable.