libstagefright: parse global settings from codec xml file.

Also parse a new codec limit "max-supported-instances".

Bug: 19620911
Change-Id: I6574c168b0c2b1aa649883958d3073edc01a4a03
2 files changed