Remove compiling option '-g'

Signed-off-by: Leo Ma <leoma@credosemi.com>