pack.create_delta: correctly encode copy operations up to 2^24 in size
At present we still produce incorrect results for operations larger
than this size. That defect will be fixed in a follow-up to this
change.
Change-Id: Id63b500ae514caa4339063cde2d6486309a8a056