libaudio: force 8khz sample rate for VoIP input

Fixes muted mic in Viber.

Change-Id: Ie037ce633aa1fb532213f4a5d92f0ec71de81484
re-add ARCH_ARM_HAVE_TLS_REGISTER

Not really needed but keep it here just in case.

Recovery already defaults to fstab v2.

Change-Id: Idf35a62645cd0344c3f1930ffc342082110183e4
remove patches

Move patches to legaCyMod.
https://github.com/legaCyMod/android_local_manifest/tree/cm-10.2/patches
https://github.com/legaCyMod/android_local_manifest/tree/cm-10.2/patches-atlas40