fix two uninitialized uses reported with valgrind

the one in ufunc.at is a false positive as the content of the uninitialized memory doesn't matter
the datetime one is a real bug, but triggering it is very unlikely