The Office for Budget Responsibility has warned higher government spending could raise the cost of borrowing.