Added initialization to threadprivate register calls

05a09724d178dea6b90b784c4ff4822d8a9a0f5e by Alexey Bataev.
Fixed serialization/deserialization for OpenMP declarative directives

80f6d283f1e0b89597f70d2124c260c6af3014d2 by Alexey Bataev.