MAINT: optimize: remove a couple unused variables in zeros.c

This eliminates a couple compiler warnings that occur when building with Python 3.