[PATCH 6.1 0339/1146] ima: Fix misuse of dereference of pointer in template_desc_init_fields()