Silence -Wunused-parameter

It happened in open_object() if no support for opening files with xdg-open
or equivalent was enabled.