Make Take and Skip iterators DoubleEnded when constructed from ExactSize

Fix #12784