s390/chsc: cleanup SEI helper functions