Fixed setIteratorMode() in SplStack and SplQueue