avcodec/cbs_av1: use the new signed value read/write functions