HACK stay compatible with the emulated TLS register HACK

psyke83: wrap hack into CONFIG_TLS_USERSPACE_EMUL option

Signed-off-by: Pankaj <pankaj.bharadiya@ti.com>

Change-Id: Ic9ffdf5b88445122d186c4d08e95d8f192eb30a3