avcodec/pixlet: Simplify nbits computation