Avoid accessing memory via pointers that may not be aligned, which is undefined behaviour on some archs. Use memcpy for this purpose instead. Change-Id: Iec6c8d15fdd7ef00896e494b69412847b637b01b (cherry picked from commit d44abe24f6)
d44abe24f6