thermal: core: use kzalloc(sizeof(*ptr),...)