libavb : Add change to update recovery rollback value

On Android devices not using A/B, the recovery partition usually isn't
updated along with other partitions and therefore can't be referenced
from the main vbmeta partition.
To protect this partition, key used to sign each requested partition is
verified by validate_public_key_for_partition() operation which is also
used to return the rollback index location to be used. Add change to
write back recovery rollback index value in this case.

Change-Id: I3ded944d46bcbc56cc98170136b280f690b512c8
1 file changed