Lossless mode for AV1