vrend: Fix decode loop error handling and reduce tracing overhead
This MR
- silences a warning about a non-static variable without previous declaration
- fixes the error handling in the command stream decoder loop
- reduces the tracing overhead with perfetto by avoiding the use of vnsprintf when it is not needed