Add an ENFORCE_FORMAT annotation to the declaration of PrettyPrintIM. (#18998)

We weren't actually doing the format checks on the callers of this
function, just annotating its implementation to make the tree compile.
diff --git a/src/app/MessageDef/InvokeResponseMessage.cpp b/src/app/MessageDef/InvokeResponseMessage.cpp
index 39a18a4..1aec93b 100644
--- a/src/app/MessageDef/InvokeResponseMessage.cpp
+++ b/src/app/MessageDef/InvokeResponseMessage.cpp
@@ -82,7 +82,7 @@
     }
 
     PRETTY_PRINT("},");
-    PRETTY_PRINT("");
+    PRETTY_PRINT_BLANK_LINE();
 
     if (CHIP_END_OF_TLV == err)
     {