ARROW-16877: [C++] Define custom printer for Registry tests to fix valgrind (#13438)
ARROW-16877: [C++] Define custom printer for Registry tests to fix valgrind (#13438)

Authored-by: Raúl Cumplido <59d4da135a4a8d271cfab38e4b71ac8d4bb78fb2@gmail.com>
Signed-off-by: David Li <dc24f9cfc84fb1675ce65c8444a2c3e2f0e5f297@gmail.com>
apache/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,wesm/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,kou/arrow,apache/arrow,apache/arrow,apache/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,apache/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,apache/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,wesm/arrow,kou/arrow,kou/arrow,wesm/arrow,kou/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow