[S390] replace diag10() with diag10_range() function