BLE Host - Fix build errors for non-centrals.
BLE Host - Fix build errors for non-centrals.

X-Original-Commit: 8a3574b08acc2c4f44792235c2bd9642fc10a9f6

apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble,apache/mynewt-nimble