gdb/python: look for python, then python 3 at configure time