[PATCH 4.14 09/25] s390/lcs: fix variable dereferenced before check