[EXPORT][GCC_ARM] additional linker option for wrap main

Most makefile templates didn't use the -Wl,--wrap,main so that __wrap_main was not called.