KVM: s390: move timer interrupt checks into own functions