CVE-2015-3223: lib: ldb: Cope with canonicalise_fn returning string "", length 0.