Issue 8717 - Private and Protected should be accessible from within the same module.

http://d.puremagic.com/issues/show_bug.cgi?id=8717

`static if` and `static assert` didn't have access of private and protected fields in the same module.

I'm not 100% sure whether this new check is correct.