Triple linking numbers and Heegaard Floer homology