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