Normalize the panic macros to match WT_ERR / WT_RET semantics, use them consistently.