libbe_build: fix unterminated string in BEntry::set. Fixes #10686.

Signed-off-by: Stephan Aßmus <superstippi@gmx.de>