[releng] PR #7704: Two enhancements for mass-rebuild-close-bugs.py