Incorrect check for changed NVRAM fields fixed.

This fixes b/8949242.
The original version, if the old data is FOO_ and the new data is FOO,
this check will conclude that they are identical and will not write FOO
to NVRAM, therefore I added an extra memcmp to make sure this doesn't

Change-Id: Iab070c756c33d751ca82594d5f587500b05cc867
2 files changed
tree: fa51ea5e61323e4c74f3c17460af8c41451d3adb
  1. libupgrade/
  2. makehdf