drm/radeon: fix handling of variable sized arrays for router objects