ragel: add patch to fix compilation with recent clang

Closes #23394.