libsparse: add a function to retrieve the data blocks

Test: m libsparse

Change-Id: I04bd3912bb4364e591b064ec2aab782cf02f6bd7
2 files changed