Adding to build ".arch_extension sec" conditionally

Added preprocessor to check gcc version for ".arch_extension sec" since
gcc-4.6 support it.

Signed-off-by: Dongjin Kim <dongjin.kim@agreeyamobility.net>