Fix bluetooth

Gingerbread uses older Bluez version than ICS/JB
Forward-port some changes from Samsung's opensource package