mlxsw: spectrum: Add couple of lower device helper functions