The XSUB-writer's interface to the C memzero function. The dest is the destination, nitems is the number of items, and type is the type.