Teach configure to find Python 3.9 and 3.10

FreeBSD does not have python3 symlink, and ./configure relies on finding
python3.X binaries instead.
73 jobs for !6660 with mnowak/configure-find-python-3.9-and-3.10 in 34 minutes and 23 seconds (queued for 5 seconds)
latest merge request