test/common/get_command_descriptions: null terminate c string

This fixes a bunch of trailing goop I see on my machine.

Signed-off-by: Sage Weil <sage@inktank.com>