PNaClContext: implement linspace