[PATCH v2] cmd: gpt: Add option to write GPT partitions to environment variable