[PATCH 08/16] qemuBuildChrChardevStr: Use proper type for the switch statement