without calling sane_open() first, just skip ptr->opts free()'ing in that case.
Thanks to David Campbell for spotting this.
* Protect sane_control_option() from possible SIGSEGV when it would be called
with uninitialized scanner options (scanner->opts == NULL).