France's gross domestic product (GDP) grew by 0.5 percent in the second quarter, official data from the eurozone's second-biggest economy showed on Wednesday.