Added type casting in volumeRaymarching kernel

Now it builds and woks fine in MAC.
Tested in FF 19.0.2 - mac book pro (i7. GeForce GT 650M)