refactor: modernize std/debug.lua.

* lib/std/debug.lua: Reorder declarations and LDocs to match
latest style.

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