PNaClContext: dot product function