libfdisk: add wrapper to ask for numbers

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: (sun): use ask API, remove global variable

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