apps/examples/nxp_example: Fix NXP example app for Protected build
apps/examples/nxp_example: Fix NXP example app for Protected build

Remove direct call to kernel API from NXP example app in case of
protected build.

Signed-off-by: Kishore S N <33058dcca7ce956a91a61ef5ae8fb790ece75b5f@samsung.com>

chanijjani/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,jeongarmy/TizenRT,pillip8282/TizenRT,pillip8282/TizenRT,davidfather/TizenRT,jeongchanKim/TizenRT,junmin-kim/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jsdosa/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,davidfather/TizenRT,an4967/TizenRT,jeongarmy/TizenRT,Samsung/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,sunghan-chang/TizenRT,an4967/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,pillip8282/TizenRT,Samsung/TizenRT,davidfather/TizenRT,jeongarmy/TizenRT,jeongarmy/TizenRT,davidfather/TizenRT,junmin-kim/TizenRT,an4967/TizenRT,chanijjani/TizenRT,junmin-kim/TizenRT,sunghan-chang/TizenRT,junmin-kim/TizenRT,jeongarmy/TizenRT,chanijjani/TizenRT,chanijjani/TizenRT,jeongchanKim/TizenRT,chanijjani/TizenRT,davidfather/TizenRT,jeongarmy/TizenRT,pillip8282/TizenRT,davidfather/TizenRT,an4967/TizenRT,jsdosa/TizenRT,sunghan-chang/TizenRT,pillip8282/TizenRT,jsdosa/TizenRT,chanijjani/TizenRT,sunghan-chang/TizenRT,jsdosa/TizenRT,an4967/TizenRT,sunghan-chang/TizenRT,sunghan-chang/TizenRT,jeongarmy/TizenRT,jsdosa/TizenRT,junmin-kim/TizenRT,pillip8282/TizenRT,an4967/TizenRT,davidfather/TizenRT,Samsung/TizenRT,jeongchanKim/TizenRT,chanijjani/TizenRT,pillip8282/TizenRT