FindBoost: Add support for Python 3.10

Regexps in FindBoost assumed that python's minor version had only one
digit.  That became not true for 3.10.

Fixes: #23025
37 jobs for !6809 with FindBoost-python-3.10 in 27 minutes and 35 seconds
latest merge request