common: Move main_loop() to init.h