ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations