Improve generic rawmemchr for targets that don't have an