Bluetooth: GAP: Added syncronization lock in Getdevice method

Library function in getdevice method accessed without syncronization
lock from bondStateChangeCallback and sspRequestCallback

Change-Id: If0ee704b6d86ff15c82c5fac09df80229c5c01fc
CRs-fixed: 1040513
1 file changed