[PATCH 5.17 035/114] s390/ctcm: fix variable dereferenced before check