Fixed #66091: memory leaks in Date constructors