Fix build: add -Wno-error=sizeof-pointer-memaccess

Change-Id: I706feb88e3496f5ce9a61eef6ee18382ebcdc81a
Fix compilation with GCC 4.7

Change-Id: I834b88fbebe509f73b013f1f5554ceb0c7e45d74