shells/ksh93: Fix build with LLVM15
(cherry picked from commit b3690ff9ffe8bfaa0460e888d5cbb0a1ea47f397)