Enhance GPT measurement to be able to handle different partition entry size.