switchdev: fix typo in inline function definition