db/schema_tables: do not use moved from shared pointer
db/schema_tables: do not use moved from shared pointer

Shared pointer view is captured by two continuations, one of which is
moving it away. Using do_with() solves the problem.

Fixes #3092.
Message-Id: <9fba1ab041875ce4d16adc1f37072e6724ef9848@scylladb.com>

scylladb/scylla,duarten/scylla,duarten/scylla,avikivity/scylla,avikivity/scylla,avikivity/scylla,scylladb/scylla,duarten/scylla,scylladb/scylla,scylladb/scylla