Significantly optimize cube map shadow mapping

Significantly speed up point light shadow mapping using cube
shadow maps by predetermining exactly when a particular cube map
segment contains no shadow casters and can be skipped.

Signed-off-by: Harm Hanemaaijer <fgenfb@yahoo.com>