lib: Correct length name in write assoc struct

Correct name from assoc_length to remaining_length.
1 file changed