Reduce copy&paste in PartitionDxe/Gpt