scripts/addToolVersion: simpily gcc handling and fix for gcc-4.9.X (and later)

Signed-off-by: Cody P Schafer <dev@codyps.com>