Fix mega-PCH issues (ROOT-5993 and ROOT-5994). Remove warnings.