drm/radeon: more strictly validate the UVD codec