cmake: set big-endian flags to TOOLCHAIN_*_FLAGS

Set -big-endian to both compiler and linker flags if
CONFIG_BIG_ENDIAN is set.

Signed-off-by: Tavish Naruka <t-naruka@ispace-inc.com>
2 files changed