Oscar Piastri has revealed in passing that he won his first Formula 1 race, the Hungarian Grand Prix, with a broken rib.