Fix n_tty patch for older kernels

(backported by Ben Hutchings <ben@decadent.org.uk>)

Change-Id: I1d663cf704856ee0639f04b2fa28ebca2ae0b3f6
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0-google2