ion: ioctl compat with old api

Change-Id: Iea40fac9caa783ede26281e090ec6cb82353d5bd
Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_kernel_sony_msm8x60 into jb-mr1