list: deprecate list.elems module function.

* lib/std/list.lua (elems): Deprecate.
* specs/list_spec.yaml (elems): Specify deprecation warning
behaviour.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>