Fix core dump parsing on 64bit core files

Fields in the Linux notes section of core files are 4-byte aligned
even on 64bit core files, so to fix this change the "WordUp" macro
to use the size of the ElfXX_Word type to determine alignment

BUG=chromium-os:22391
TEST=logging_UserCrash passes on x86-generic, arm, and amd64-generic

Change-Id: I7acb4e3f2b7b06960031876542d6b1ee10a6a5c7
Reviewed-on: https://gerrit.chromium.org/gerrit/11733
Reviewed-by: Michael Krebs <mkrebs@chromium.org>
Commit-Ready: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Sonny Rao <sonnyrao@chromium.org>
1 file changed