OFMutableData: Resize in -[makeImmutable]

There is no point in keeping the unused capacity when items can no
longer be added.