Fix (unlikely) memory leak.

If we were able to allocate the list of time stamp types, but were
unable to allocate the list of time stamp precisions, free the list of
time stamp types before freeing the handle.