Windows has no POSIX executable bits, so the stat-based check always fails. Skip the check on Windows in the validator, and mark the two related tests as POSIX-only. Unix CI still catches non-executable scripts from Windows contributors. Fixes #6893