s4-ldb: add --trace command line option to ldb tools