Large hnvram value fixes (up to 64k).

Bug fixes discovered while testing prowl hnvram with large values.
  a) halve the size of the RW partition to match the size of the
     RWB (backup) partition.  nudge offsets so that the locations
     stay the same within the overall layout.
  b) explicitly fail when exceeding the storage available
     in a partition.
  c) fix a use-after-free

Change-Id: Id7f7c13d5d29aa09243f1e0b7920322167123c4f
1 file changed
tree: df4d31506a71a950286abdf9598aa8fa8e49d952
  1. libupgrade/
  2. makehdf