librustc: Update AutoObject adjustment in writeback.

Fixes #11612.

r? @nikomatsakis