dirstate: report bad subdirectories as match.bad, not just a warning (BC)
This seems simpler and more correct.
The only test coverage for this is test-permissions.t when it says:
dir: Permission denied
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null