vdpau: Declare texture object as immutable using helper function.
Use Mesa's _mesa_set_texture_view_state()
helper function to declare the VDPAU texture object as immutable. This will also set all of the object's attributes correctly so that fbobject.c:check_level()
no longer fails.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Fixes: #10618
Cc: mesa-stable