[PATCH 4.9 058/251] ima: Fix misuse of dereference of pointer in template_desc_init_fields()