Fix String.starts_with? and String.ends_with? non-raising edge case