-printtoconsole=1 has the same functionality but works in more cases than DEBUG_LOG_OUT, so remove the latter (-printtoconsole is already used when fuzzing). This means we can drop G_TEST_LOG_FUN.
Behavior can be verified through
0ctest --test-dir build --debug
and checking for:
0142: Test command: /home/hodlinator/bc/2/build/bin/test_bitcoin "--run_test=coinselector_tests" "--catch_system_error=no" "--log_level=test_suite" "--" "-printtoconsole=1"
1...
2142: 2026-03-26T13:40:02.169392Z [test] [../src/kernel/context.cpp:20] [operator()] Using the 'sse4(1way);sse41(4way);avx2(8way)' SHA256 implementation
Inspired by: #34918 (review)