change optimization to -Os for CONFIG_DEBUG_FULLOPT to be compatible with other architectures and add an option to select CONFIG_DEBUG_CUSTOMOPT Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>