While rising costs are squeezing Pandora’s margins from one side, a deteriorating macroeconomic backdrop is hitting it from the other.