s390: make couple of functions and variables static