nir: Narrow some dot product operations