(#21264) Update rgen to 0.6.5