[PATCH 16/24] qemuBuildChardevCommand: Split creation of the command and setup of other objects