parse-options-cb: convert sha1_array_append caller to struct object_id