Rtti.pp unit is not thread safe
<h3><details><summary>Original Reporter info from Mantis: <small>imants_gulbis</small></summary><small>
- **Reporter name:** Imants Gulbis
</small></details></h3>
## Description:
I attached patch for fixing some problems with using rtti unit in multiple threads.
Specially I got problems with GetParameters, GetDeclaredMethods and GetProperties methods they time to time raised 'A RTTI object with handle 0x%x is already registered' error and sometimes it created more than one TPoolToken for same context which caused problems with GRttiPool
## Mantis conversion info:
- **Mantis ID:** 37302
- **Version:** 3.3.1
issue