Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)
DIM on null in const expr should emit warning