Rename `ref` to `reference` as per recent AST updates

Ref. https://github.com/jviereck/regjsparser/issues/57.