Add support for libamcodec - interface library for Amlogic hardware media codecs

Add support for building the libamcodec library used by Kodi for hardware accelerated video decoding on Amlogic-based devices.