riched20: Sign-compare warnings fix.