Mark deserialized inline functions used so the DeclUnloader keeps them.

(cherry picked from commit b9cbfbee293d2fb4c8660a2812f90a16586ff2ed)
Remember failures from autoload directives: they are likely persistent.

(cherry picked from commit 3c1ea5574f1b8ff9a531f24eebc366f4ee92bc5f)