app: add gimp_drawable_get_component_format() and _component_index()
app: gimp_channel_new_from_alpha(): use gimp_drawable_get_component_format()