debug: tweak debug device configurations

1. remove source when no debug device exists
2. tweak function prototype

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>
debug: add function to change debug device

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>
debug: add a simple ram debug device implementation

Signed-off-by: Viller Hsiao <villerhsiao@gmail.com>
lib: string: add strcmp

Introduce string utilities from tag v0.9.14
of MUSL libc project(http://www.musl-libc.org/)
Merge pull request #59 from vh21/tweak-dbg

Tweak debug device implementation
slightly tweak licensing terms and style
Merge pull request #58 from georgekang/add-strcmp

lib: string: add strcmp