Clean up libsensors socket JNI code

* Remove dead fbstream functions
* Replace unecessary malloc with static var
* Better string handling of the socket path

Change-Id: I30d92db1f95a26687c7db4227728e498426acec6