FIX: Allow as_grey on RGBA images.

Fix bug in PIMS that broke `as_grey` for images with an alpha channel.