[linux] enable android hw codecs in linux on arm devices, e.g. amlogic

This enables hardware acceleration for AMlogic chipsets on linux for XBMC built with --enable-codec=amcodec