mesa: fix mesa_problem() call in _mesa_program_state_flags()
Previously STATE_INTERNAL returned 0 for the unhandled states but the outer switch throws the error for unhandled states.
Fixes: b4f34977 ("mesa: remove STATE_INTERNAL")
Closes: #5316 (closed)