Don't include types that are not used

Fixed a bug that unused import contributes to the include list in the
NDK backend. include is now done only for the types that are actually
used.

Bug: 153527738
Test: aidl_unittest
Change-Id: I94c5d663e0abfe7a97d7749224ceb7ebf3a14b04
2 files changed