Fix sizeof-pointer-memaccess warning with gcc 4.8