[Chapel Merge] Use CPtr in some python tests

Branch: refs/heads/master
Revision: d56089d
Author: e-kayrakli
Log Message:

Merge pull request #16471 from e-kayrakli/cptr-fix-python

Use CPtr in some python tests

Follow up to https://github.com/chapel-lang/chapel/pull/16451.

These tests do not run in a typical paratest config, so, I have missed.

The files compile with --library after this PR.

[Trivial not reviewed]

Modified Files:
M test/interop/python/otherPointer.chpl
M test/interop/python/otherPointer_int.chpl
M test/interop/python/otherPointer_int32.chpl
M test/interop/python/stringAllocated.chpl

Compare: https://github.com/chapel-lang/chapel/compare/e9634c8ad26c...d56089dcedac