Optimization of single-qubit gate fidelities in silicon quantum computers in the presence of crosstalk