Check for compiler for -march=native support

Check all compilers to see if they support the -march=native flags, rather
than assuming gcc 4.2 or later does. Tile GCC doesn't currently support it,
so not checking break Tile compiles.

Passes both regression tests:
https://buildbot.suricata-ids.org/builders/ken-tilera-pcap/builds/1
https://buildbot.suricata-ids.org/builders/ken-tilera/builds/64