s3-ldb: update the old ldb in s3 to use new DLIST macros