[PATCH 6.1 172/611] media: platform: mtk-mdp3: Add missing check and free for ida_alloc