ethdev: fix storage type of latest port id