Fix syscalls on 4.3's bionic

Change-Id: Ibaeaa30ce88880338cd0236791f7db4cac8289b5
mktemp: switch to mkstemp

The compiler warning was breaking the build due to Werror, and it's
an easy fix

Change-Id: Ic109aa017c02596e9cf0aae3c6f82d72849b90cf
Merge branch 'cm-10.2' into somex-4.3-test