The impact of systematic uncertainties in N-body simulations on the precision cosmology from galaxy clustering: a halo model approach