Thread: Don't set native names twice for attached threads.

ART already does this when a threads are attached. There's no need
to do it another time.

Also add a test that documents the behaviour wrt. to thread naming
for attached threads.

bug: 27748318

Change-Id: I9075f0434b0168280662a1f8a4176f23724748a7
4 files changed