avcodec/h264: do not trust last_pic_droppable when marking pictures as done