[PATCH 2/3] security: Rewrite virSecurityManagerCheckModel() to use g_autofree