Fix FORTIFY_SOURCE warnings from gcc in Debug mode