libfdisk: add support for sfdisk-like script format

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