d2: ifdefs for ramconsole
build will fail with ANDROID_RAM_CONSOLE disabled
Signed-off-by: task650 <task650@gmail.com>