Populate small id field for MonoInternalThread structure.
Unmanaged implementation for thin-lock.

Remove fastpaths for the previous implementation.
Add amd64 native fastpath for monitor enter/exit.