target: Fix use-after-free in LUN RESET handling