Roberts returns to help Orioles beat Pirates 8-6