Perl: Update encoder wrt. LZ4 spec changes

Now also embedding the uncompressed packet length before the
compressed one.