androidmedia: Read max-input-size from caps

max-input-size contains the suggested input buffer size that appears in some containers. This size is needed by some decoders to do proper input buffer size calculations.
There should be two versions of gst_amc_format_new_video(), one that includes buffsize and one that doesn't. This is because the header is in common with the regular gstamc implementation, and the one that calls into hybris (ours). You can detect the hybris version for compile time via: #ifdef HAVE_ANDROID_MEDIA_HYBRIS