Most banks are spending more on technology, and a large portion of that money is going toward risk-related and infrastructural projects that take time to pay off.