libtraceevent: Improve error handling of tep_plugin_add_option() API