swrast: fix Z testing of points/lines for 16-bit depth buffers