Fix a warning

Apparently CGBitmapInfo is a super set of CGImageAlphaInfo, so we fix
the implicit-cast warning by adding an explicit cast.