Fixed setIteratorMode() in SplStack and SplQueue

setIteratorMode in SplStack didn't throw exception when mode was invalid.