cns3xxx: ethernet: fix signed/unsigned comparison