frameworks/av: Add DTS M6 support

Added support for DTS M6 on ARM

reverted previous commits to facilitate cherry picking
cherry pick this single commit to get all changes