e2fsprogs: fix compilation with clang

Closes #19532.