libfec: skip over verity tree when reading metadata from filesystem.

If partition size > filesystem image, we must skip over the verity
tree appended to the filesystem image when trying to find the verity
metadata.

Bug: 112046449
Test: Enable verity for hikey960 (system partition size = ~2 x
     filesystem size) and boot.

Change-Id: Ia6cdbc0f35a98fdfa1fb4677951ae5c829cabb0f
Signed-off-by: Sandeep Patil <sspatil@google.com>
1 file changed