The cursor's write-generation value is no longer used, it's only set and
then never read.  Remove it, along with the __wt_page_write_gen_check()
function.