virgl/trace/meson: fix and tighten up compile warnings
This MR:
- Fix a few mismatch in vrend func declare and impl (even mis-ordered)
- Unify percetto and perfetto tracing macro defs to silence a warning from !1134 (merged)
- Fix a few unused param warnings when compiling with no virgl.
- Tighten up compile warnings to avoid regression.
Test:
- virgl/venus/drm-msm compiled under gcc 13.1.1 and clang 15.0.7
- Percetto tracing still works normally
Edited by Yiwei Zhang