Use Stream::toList in String::stripIndent.

Stream::toList is available now, no need to deviate from
the upstream.

Bug: 241231766
Test: CtsLibcoreOjTestCases:test.java.lang.String.StripIndent
Change-Id: I8b04a242507f43be7507e91e82e475e1ca0833f7
1 file changed