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.