Weak error analysis for a nonlinear SPDE approximation of the Dean–Kawasaki equation