mm-video-v4l2: venc: Correction in profile check for H.264 am: 6290468c22

Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/qcom/media/+/11999650

Change-Id: Iae44b4d48eb0e794c7280100582fa863050c583f