the thread_attachX functions already set this

- also fixes OSX memory leak
Merge pull request #437 from dawgfoto/redundantTLS

the thread_attachX functions already set this
Remove unused object.opEquals(TypeInfo, TypeInfo)

It seems that just had been forgotten to remove it when bug 3917 was fixed.
Merge pull request #438 from 9rnsr/fix_opeq

Remove unused object.opEquals(TypeInfo, TypeInfo)