UPSTREAM: frontends/va: fix coredump as creating surface with VAConfigAttrib

As creating surface with VAConfigAttrib, checking if modifier from attrib list is null

BUG=b:176103200
TEST=test_va_api --gtest_filter=CreateSurfaces/VAAPICreateSurfaces.CreateSurfacesWithConfigAttribs/136

Signed-off-by: shanshengwang <shansheng.wang@amd.corp-partner.google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15483>
(cherry picked from commit 1bd8ef0c89c7a43fc07f9ba4b6e412a6d3958ae3)
Change-Id: Ib7a38cf2e1e7dd115674f41e2b1ee0715c0a9691
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/mesa/+/3544805
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Suresh Guttula <suresh.guttula@amd.corp-partner.google.com>
Reviewed-by: Miguel Casas <mcasas@google.com>
Tested-by: Miguel Casas <mcasas@google.com>
Commit-Queue: Miguel Casas <mcasas@google.com>
1 file changed