drivers: thermal: msm-thermal kernel based temp protection

Signed-off-by: Dennis Rassmann <showp1984@gmail.com>

Ported from mako kernel by dsb9938.