libapparmor: Check policy/extended_policy_header before stripping the header
A recent kernel patch introduces policy/extended_policy_header.
Strip the userspace policy header before sending it to the kernel if and only if this feature is not enabled.
Signed-off-by: Maxime Bélair maxime.belair@canonical.com