src: simplify memory management using node::Malloc()
and friends
#8482
+160
−88
node::Malloc()
and friends
#8482