lib: os: cbprintf: Add assert to Z_CBPRINTF_ON_STACK_ALLOC

Add protection if number of string arguments exceed the limit
which currently is set to 32.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
1 file changed