io_u: move trim error notification out-of-line