anv: Handle clamping of inverted depth ranges