[Chapel Merge] Use python3 syntax for finding numCores in common-

Branch: refs/heads/master
Revision: ce0da59
Author: mppf
Log Message:

Merge pull request #16630 from mppf/common-gasnet-numcores-again

Use python3 syntax for finding numCores in common-gasnet

Follow-up to #16629 and #16560

Intended to resolve a smoke test failure.

Trivial and not reviewed.

Modified Files:
M util/cron/common-gasnet.bash

Compare: https://github.com/chapel-lang/chapel/compare/deac433625bc...ce0da597a419