ccan: Fix calling memset with zero length parameter