mediacodec: add seccomp filter for arm/arm64

mediacodec always runs in 32 bit mode so the arm seccomp filter is also
used on arm64 devices.

Tests: mediaserver CTS for bullhead, volantis and shamu

Add policy to log blocked syscalls to syslog and allow debuggerd attach
on mediacodec crash.

Bug: 27066802, 27064966
Change-Id: I4bdbba25b8847afa98d89b4b4ca863829fa19754
6 files changed