Use TARGET_GCC_VERSION in linaro compiler checks
Signed-off-by: Paul Beeler <sparksco@gmail.com>