net: dsa: Fix build warning for !PM_SLEEP