Added Mandelbrot kernel and minor fixups to prevent LICM when compiled with -O2