libdv: FIX: 64-bit build error

You need labs() or llabs(), but there isn't a version that just accepts
int64_t, so I go with imaxabs() because it should always work.