[PATCH v2] riched20: Avoid using GCC's typeof extension