Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on 64-bits systems)