msm: mdp: Free secure memory based on pipe config

When there is no secure pipe configured, we can unmap secure
memory instead of relying on unset with secure flag set from
userspace.

Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2 files changed