[jit] Fix the calculation of the epilog size for EH info. Fixes #24577.