part: add the get_partition_info_efi_with_partnum() in header file