doc: harmonize version pattern in YAML comments
I've let two linter errors slipped through in #35454.
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/139
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines