anv/device: keep track of 'device lost' state