fix(es/ast)!: fix panic on JSX surrogate entities (#11803)