Use memset to initialize arrays with constant byte value.

This extends the existing code for null values.