[PATCH 6.0 0329/1073] ima: Fix misuse of dereference of pointer in template_desc_init_fields()