GCC 4.8.x optimization
Fix memset for GCC 4.8.x