S390X: Use proper mask in contains_non_ascii and force_ascii