[PATCH 6.2 177/663] media: platform: mtk-mdp3: Add missing check and free for ida_alloc