parse-options: add cast to correct pointer type to OPT_SET_PTR