Use the ubiquitous strchr instead of rawmemchr

this is just options parsing, not the performance critical codepath.