libstd: Fix treemap