gptfdisk: fix stack overflow in parsing cmdline am: 69e46b9a1c
am: 8c834de12a

Change-Id: I200c8e057631eed5ec5eaa70004800eafc0a7914