fix up CodeGen_PagesBlocksAttributesMigration to correctly detect AttributeValues that may need to be migrated