softgpu: Only check clear mode once for depthtest.

Small, small optimization.  It's only called outside clear mode.