net: dsa: Move dsa_switch_{suspend,resume} out of legacy.c