Architecture and noise analysis of continuous-variable quantum gates using two-dimensional cluster states