A Mean Field Approach to Empirical Bayes Estimation in High-dimensional Linear Regression