Charles Pic will take a five-place grid penalty for the British Grand Prix after his gearbox was changed before qualifying.