Fix several cases of NULL dereference when INQUIRY sent to absent LUN.

MFC after:	3 days

(cherry picked from commit bc918439e5f02f6790ff666ab0c78e56eb810358)