A weighted strategy to handle likelihood uncertainty in Bayesian inference