[Bluetooth] stopDiscovery API fix

Return an error message to javascript when there is no discovering
when user requests to stop it.