Fix format string for GC debug log message

Closes PR 13998

Please merge to v6.0