[PATCH 4.9 023/139] media: ti-vpe: Fix a missing check and reference count leak