ND2: reset series count before allocating offset array

This prevents extra memory from being used if the series count was too
high.  See http://lists.openmicroscopy.org.uk/pipermail/ome-users/2014-September/004699.html