drm/radeon: off by one in check_reg() functions