target/s390x: introduce internal.h