cos_tablegen: Don't use lrint