Fix mistakenly introduced tabs and add ThreadIdType.

Change-Id: I65903e0b7045976e01350f02df121862749d5fdb
COMP: ThreadIdType for counting threads.
FIX: Tabs to spaces in RegisterUsingImage Centers.
Merge topic 'rk-Cleanup'

2739fed Fix mistakenly introduced tabs and add ThreadIdType.