Fixed most clang warnings

This fixes the numerous "warning: '&&' within '||'  (and some others) while building dmd with clang [on OSX].

There's one occasion that actually fixes a bug: doc.c line 1426!
I moved this fix to https://github.com/D-Programming-Language/dmd/pull/3880