fdisk: (dos) move macro is_dos_compatible()

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: (dos) fix possible mem-leaks

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