os/fs/driver/mtd: Fix for CRC check during smartfs-image host build
os/fs/driver/mtd: Fix for CRC check during smartfs-image host build

-Separated CRC check modifications for host build
 from on-device functioning usinf NXFUSE_HOST_BUILD flag.
-Avoids unneccessary erase of eraseblocks due to CRC
 invalidation of completely erased logical sectors during
 host build.

Signed-off-by: Amogh Hassija <448175fdc113b17c725467b053a031f9134d1029@samsung.com>

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