Check for compiler for -march=native support

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