Determination of the Abundances of Subcoronal 4He and of Solar Flare-accelerated 3He and 4He from Gamma-Ray Spectroscopy