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 this function prototype, one that doesn't have buffsize, and the other that does. The one that does should be detected via: #ifdef HAVE_ANDROID_MEDIA_HYBRIS