workaround old GDAL bug regarding rgba images and alpha reporting - closes #2310