[Linaro-uefi] [PATCH RFC 13/19] Refactor get_argv() for sharing