drm/ast: fix value check in cbr_scan2