python.mk: allow do-configure with {HAS,GNU}_CONFIGURE under USE_PYTHON=pep517
Some non-Python software include optional Python package(s) whose
metadata is generated by a configure script. In those cases allow
do-configure to run instead of ignoring them completely when the
Python package is PEP-517-compliant.