swap_pager: fix assert in seek_data
An assertion that an object was write-locked should be instead an
assertion that the object is read locked.
Reported by: Jenkins
Fixes: db08b0b04deced tmpfs_vnops: move swap work to swap_pager
Differential Revision: https://reviews.freebsd.org/D47278