Improve robustness of thread name fixing

Cherry-pick of 23976396a029f146f82d791b9f50256687498dcb from AOSP

Accept any number of spaces between the headers of the ps command
because they are not stable across Android versions.

Bug: 20160776
Change-Id: Ibcd58f781caabb747fa87bfe7ef4e03e1257caaa
1 file changed