Fixed a bug with NULL longind/arg in SGGetOpt.