fix memset for 4.8+ linaro toolchain