clang: Fix "unused function" warnings
clang: Fix "unused function" warnings

Clang warns about some unused `static inline` functions.  Conditionally
compile out these functions.

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