Bug 1021973, part 2 - Remove gfxPlatformMac/gfxQtPlatform::OptimizeImage(). r=Bas
bug 1017160 - remove nsINSSCertErrorDialog and implementation r=cviecco