v3d: configure polygon mode when enabled
Configure the polygon mode (wireframe mode) when required.
This does not fix the polygon-mode tests in piglit though, as (1) we do not support rendering quads natively, and (2), we do not support setting different polygon modes for front and back faces.