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.

Without this fix, the resulting thumbnail gets filled with black color.