More refactor: in addition to the changes in the previous, this also
moves the PDB_extend_const_table from src/debug.c to
compilers/imcc/pbc.c, because is the only file that uses it and seems
to not be related to the debugger (historical reasons?), renames it
and makes it static, and add a few auxi
This is a bigger patch that in addition to the checks does some
refactor in the debugger system: moves all acces to debugger internals
out of debug.ops, and moves the constants used only by debug.c out of
debug.h, converting them from macros to enum values at the same time.
The long term goal is t