cmake: fix a cross compile issue
yocto fails to build libha. This happens because CMAKE_C_FLAGS is set in CMakeList and override all the flags set by the toolchain file. This fixes the build issue.
Signed-off-by: Alexandre Bailon abailon@baylibre.com