cir_queue: fixed wrong get_size