The passage says "God". Since there is no context for any differentiation at this point, it is the Triune God, which consists of God the Father, the Son, and the Holy Spirit which is indicated.
Then by your comment it would be just as accurate to say the Holy Ghost or Father chose Mary as saying Jesus chose Mary?