plugin: fix case where gst_plugin_load_file() didn't set the error on failure