A Regularity Criterion of Weak Solutions to the 3D Boussinesq Equations