Fix compilation for ZTS-enables PHP

Hello, I was experiencing compilation error against ZTS-enabled PHP because of undefined tsrm_ls in sass_get_exception_base function. This patch fixes the problem.