media: davinci: vpif_capture: fix potential NULL deref