settings: Don't crash on NULL optlist for multiopt setting

Fixes #1941