Better support for LA mode images in PIL engine

This allows LA mode images (i.e. greyscale with transparency) to preserve their transparency when using the RGB colorspace.