Huw Davies : riched20: Move run extent calculation to wrap.c.