You can move the crankset out by adding a bottom bracket spacer between the BB and the frame. These are available in 1, 1.5, and 2 mm thicknesses. This will relieve at least some of the rubbing, but will also increase the chain angle from the big ring to the larger cogs. If it was me I'd want to be able to use the second and third smallest cogs without the rub.
What size are the chainrings? Your problem is common with 50/34 compacts.
Al