nir: implement lowering for fsin and fcos