make the option entries array NULL-terminated
as per required by g_option_context_add_main_entries, the entry must be NULL-terminated, this MR fixes a potential out-of-bound read in g_option_context_add_main_entries
if entries
it's not a NULL-terminated array
Edited by Moody