[PATCH 4.14 076/338] ima: Fix misuse of dereference of pointer in template_desc_init_fields()