i965g: check validity of 3DSTATE_DEPTH_BUFFER