What's the difference between these two capacitor wirings?

In that case C5 is correct.
It resets the Arduino whenever a serial connection is initiated.

The caps in the VCC and AVCC lines just are wrong, the controller will not be powered this way.