fix Wsizeof-pointer-memaccess with linaro 4.8