gamemap: Handle transparency with 256-colour images when rendering maps to .png

Now we can default to a VGA palette with colour 255 as transparent, but if a
palette is given then the alpha value is inspected so that images with a
transparent colour set will correctly be brought across to the .png image.