fdisk: differentiate between get and read operation

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: (gpt) remove global variables, cleanup header verification

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