doc: fix overriding of prefix option
Make the example in the "Building a debug build" section work as intended.
Fixes: https://github.com/nodejs/node/issues/30477
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines