OpaquePtr: Bulk update tests to use typed byval

Upgrade of the IR text tests should be the only thing blocking making
typed byval mandatory. Partially done through regex and partially
manual.

GitOrigin-RevId: 06c192d454767376771e8fed4ddcf8a461723e32
272 files changed