app: aboot: Add Rollback index functions for AVB.

Add read and write rollback index functions to
read and update the rollback index of partitions.

Change-Id: I52b3fef94880f69798475162e29a3bb0e96f4888
2 files changed