Fix host platform checks in globals.h for __s390__ and __s390x__