Disable use of `basicIndexOf` optimization if `_.indexOf` is customized.