avcodec/golomb: simplify sign conversion