[PATCH] riched20: Turn several constants and variables into static constants