librl: fix build by adding missing interface and remove -lpthread.

Change-Id: I4fc2fc5e216d6f035f98e39cb8ec6ed60f4caba7
libgralloc: fix build.

Change-Id: I4e4b7c61af0594fbaff18dccfbdb87dcdfaceec9
several changes needed to for successful build
Revert "Do the same for xmm6262"

This reverts commit dc8de7ca7a3cc9958e353ef3cade5643b8a6ad19.
hardware_samsung: Add RIL subclass for Exynos4 GSM

Also updated RIL for Lollipop. Fixes sim unlock with PIN code.

I'm still unsure whether this should be merged or not:
https://github.com/CyanogenMod/android_device_samsung_klte/commit/2864552a9399bf31ecfa294b2d97838b5a14353f

Change-Id: Ia9db4cfad07ab58b1d82baffc4b7f44d4c837ae8
ril: fix 2g/3g data on lollipop

credits and thanks to marco9333 and Howard Su
Revert "Add missing ril interface."

This reverts commit 51bf3145ef3e1279d396e9fd872ddbe5e9c7491a.
hardware_samsung: RIL: update xmm626x and fix mobile data (gateway)

Some function prototypes have been changed, so take the new libril and add samsung specific parts

PS1: updated xmm6262 -> sim is detected but RIL_register receive a null pointer
PS2: updated xmm6260 and add a missing part in PS1
PS4: rebase after https://gerrit.omnirom.org/#/c/10448/
PS5: fix mobile data for xmm6262 and xmm626x ("No such process" error while setting gateway) ->
     I've used http://review.cyanogenmod.org/#/c/80947/ as a reference, all credits to him for mobile data fix
PS6: fix dependencies

Conflicts:
	ril/xmm6260/libril/ril.cpp
	ril/xmm6260/libril/ril_commands.h
	ril/xmm6262/libril/ril.cpp
	ril/xmm6262/libril/ril_commands.h

Change-Id: Ife7fb3fb585e86a9abfe612207c5ab310d0a9e18
gralloc: fix find_last_rect()