Fix const issues in libcpu/idbg.cpp

Fixes compliation with GCC 4.8.2.

Signed-off-by: Pekka Enberg <penberg@iki.fi>