radeonsi: rewrite si_get_opaque_metadata, also for gfx10 support