J_1-J_2 frustrated two-dimensional Heisenberg model: Random phase approximation and functional renormalization group