switchdev: fix stp update API to work with layered netdevices