Add back previous output for constant-test linter

while keeping the longer form the constant-test expression is part of,
which sometimes provides additional useful context about a macro
expansion that produced the warning.

Also create a new util/debug-warning function to eliminate some
duplicated code.
Eliminate some suspicous-expression warnings from schema.core/fn macro