Bug 735828 - configure fails for python < 2.7.

sys.version_info named components only available since 2.7, though GIMP
is supposed to support 2.5.0 and over. Used numerical tuple index
instead.

(cherry picked from commit d249ec348bda3eab2128fb893b95a8037f55d88d)