swap_pager_swapoff_object() drops the object lock in several places.
While the object is unlocked, nothing prevents the object from being
freed.
swap_pager_swapoff_object() tries to handle this by checking for
OBJ_DEAD, but this isn't sufficient: the object may have been recycled.
If the object's type changes, then the subsequent swap block trie access
may be invalid, i.e., the un_pager union may be storing something
unrelated.
Fix this by acquiring an reference in swap_pager_swapoff(). Simplify
swap_pager_swapoff_object() accordingly.
Reported by: llm-postcr