cppbc: fixed string_find_rev_any algorithm