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!