frontends/va: Fix *num_entrypoints check.
Fix defect reported by Coverity Scan.
Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking num_entrypoints suggests that it may be null, but it has already been dereferenced on all paths leading to the check.
Fixes: 5bcaa1b9 ("st/va: add encode entrypoint v2") Signed-off-by: Vinson Lee vlee@freedesktop.org