libfdisk: extend dump parsing function

Signed-off-by: Karel Zak <kzak@redhat.com>