[PATCH 4.14 199/204] fs/sysv: Null check to prevent null-ptr-deref bug