[openEuler-5.10 256/496] fpga: altera-pr-ip: fix unsigned comparison with less than zero