lib: os: cbprintf: Add assert to Z_CBPRINTF_ON_STACK_ALLOC
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 <9b6dc988558c51b0405b49b55c8e66862969844b@nordicsemi.no>

galak/zephyr,finikorg/zephyr,galak/zephyr,galak/zephyr,galak/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,finikorg/zephyr,finikorg/zephyr,galak/zephyr,zephyrproject-rtos/zephyr