[S390] compat: fix truncate system call wrapper