sw/nv50: Add an interface for monitoring performance counters

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>