[PATCH 5.0 031/346] media: cpia2: Fix use-after-free in cpia2_exit