Split this tracing backend in a top and bottom to enable building it with embedded libCs with the native simulator. Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>