realtek: move port filtering out of uci_set_poe()