fixed casting of TCP flag in cc110x driver

This change should not break the casting.