androidmedia: new prototype for color_format/video_format conversion

In case of multi-color_formats are
mapped to one video_format, then map that video_format back will
not give the original color_format, which causes
gst_amc_codec_configure failed with something like
'does not support color format N'.

The new prototype involves with GstAmcCodecInfo and mime, which
helps to check whether the converted color_format is supported by
the codec.

This also helps to move fixups for incorrect-reported color-format to
the conversion functions.
androidmedia: add gst_amc_color_format_copy

gst_amc_color_format_copy will copy in/out a frame resides at a
GstAmcBuffer. Lots of codes in gst_amc_video_*_fill_buffer are moved to
this new function.