s390/ap: Fix hanging ioctl caused by wrong msg counter