Issue 10169 - duplicate error message: member is not accessible

https://issues.dlang.org/show_bug.cgi?id=10169

The second `accessCheck` call is done in `DotVarExp::semantic`.