removes like_escape deprecation notice and uses $wpdb->esc_like() if the method is available. Fallbacks to old like_escape()