ptgen: fix limitation for active partition in GPT