[cleanup] Remove dead gc code from frontend and root

A lot of code we don't need for a gc we're never going to use