Two-time defending champion Carlos Alcaraz has withdrawn from the Barcelona Open with a forearm injury.