[Chapel Merge] Try to fix Python package memleak test failures

Branch: refs/heads/main
Revision: aa39cd1e641cece920c3be256bc5d95382ea10d8
Author: dlongnecke-cray
Link: Try to fix Python package memleak test failures by dlongnecke-cray · Pull Request #28835 · chapel-lang/chapel · GitHub
Log Message:
Try to fix Python package memleak test failures (#28835)

These tests are failing in nightly testing because of a Python version
bump. Adjust the .good files and also adjust the scripts to make it
easier to add different .good files for problematic Python versions in
the future.

I tested Python versions 3.14.3 3.14.1 3.13.5 and 3.12.3.

Reviewed by @jabraham17. Thanks!

Compare: Comparing c19b2d86d609910b5b0f124c6674cb63beed7889...2a8e7462ec7199330a142e30f7e82bfcf93347ce · chapel-lang/chapel · GitHub

Diff:
M test/library/packages/Python/memleaks/EXECOPTS_SCRIPT
M test/library/packages/Python/memleaks/PREDIFF
M test/library/packages/Python/memleaks/basicTypes.good
M test/library/packages/Python/memleaks/iterate.good
M test/library/packages/Python/memleaks/lambdas.good
M test/library/packages/Python/memleaks/maps.good
https://github.com/chapel-lang/chapel/pull/28835.diff