Move GetStringLength and helper from SimplifyLibCalls to ValueTracking.