[PATCH 5.17 037/114] s390/lcs: fix variable dereferenced before check