[PATCH 4.19 26/90] apparmor: fix PROFILE_MEDIATES for untrusted input