john-jumbo: fix build with clang under superenv

Fixes #26531.