target: Fix NULL dereference during LUN lookup + active I/O shutdown