[PATCH AUTOSEL 6.6 1/2] apparmor: fix possible NULL pointer dereference