build runner: fix FTBFS on targets without `--watch` implementation

This was a regression in #24588.

I have verified that this patch works by confirming that with the
downstream patches SerenityOS apply to the Zig source tree (sans the one
working around this regression), I can build the build runner for
SerenityOS.

Resolves: #24682
422e8d476cmlugg committed on 8/4/2025, 8:47:56 AMparent32a069f
1 file changedLine totals unavailable