Optimized C fallback version of memset().