Fix awk compatibility issues in run-valgrind
Fix awk compatibility issues in run-valgrind

It was using a gawk-specific function, and this changes it to a standard awk function.

tensorflow/rust,tensorflow/rust,adamcrume/tensorflow-rust,adamcrume/tensorflow-rust,tensorflow/rust,tensorflow/rust,adamcrume/tensorflow-rust,adamcrume/tensorflow-rust