Crawford's HR Helps Giants Oust Pirates