msm: audio: qdsp6v2: Add size safety check to ACDB driver

Check that the size sent by userspace is not larger
then the internal amount allowed. This protects
against overflowing the stack due to an invalid size.

Addresses security vulnerability:
https://www.codeaurora.org/projects/security-advisories/stack-based-buffer-overflow-acdb-audio-driver-cve-2013-2597

Change-Id: I5d97fcd6a59903c869967e55c3701e54efcb9728
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_kernel_samsung_msm8660-common into android-jb-mr1-v7