hw/net/rocker: Avoid undefined shifts with more than 31 ports