Changes for GPS HAL compilation

Remove dependence on android_runtime and
return invalid value if gps daemon is not
responding

Change-Id: I16dbf1bffe6193114c1da08730f0627377179a2a
Add buffer length check for XTRA data

To prevent reading beyond the length of
the buffer that contains XTRA data, a
check has been introduced assuming an
approximate limit for the size of the
data

Change-Id: I7e05beadec76c3308448b9198fd23c8e8b97394d
jflte: increase read ahead cache earlier

Change-Id: Iebe91d2586fbaf692b4e6d8759c34fc5e30aab7d
jf: add BOARD_HAVE_SAMSUNG_WIFI

* this lets us build macloader

Change-Id: I7d44703dae89a13873787f6158ba778e1198786c