Add implementations of getopt_long() and getopt_long_only() There could be impacts to getop() since that implementation is shared withe new getopts_long() and getops_long_only() implementation. Tested using a modified version of sim:nsh
only the short option is supported now Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>