fixed casting of TCP flag in cc110x driver