llvm2ice: Refactor - extract convertOperand method