A Prym construction for the cohomology of a cubic hypersurface. Appendix to: ``Secant varieties and successive minima'' by C. Soulé: On linear subspaces contained in the secant varieties of a projective curve 