Fix minor warning issues

A batch of minor warnings fixed which have seen simple enough to correct while doing some code browsing and building dmd. Hopefully they will improve something for the better even though it is a lot changes at random places.