mm-video-v4l2: venc: Amend check for camera meta data buffer flags

Added a check to refer camera meta data buffer
flag only when it is allocated.

CRs-Fixed: 646476
Change-Id: Ie5dd9ef77af8b124801f83c91a4bcd78d365e755