Piecewise-Stationary Bandits with Knapsacks