A US Air Force veteran and former airplane mechanic charged with attempting to join the Islamic State group in Syria pleaded not guilty to terrorism charges.