PrivilegedCarbonContext.getCurrentContext() changed to PrivilegedCarbonContext.getThreadLocalCarbonContext()

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>