Transparency fix for JImage class

Transparency fix for JImage class, see Joomla Issue tracker: http://issues.joomla.org/tracker/joomla-cms/5557