Explicitly check for List type in cpp backend

Instead of checking IsGeneric(), we should explicitly check for the List
type since it is handled differently.

Test: atest aidl_integration_test && atest aidl_unittests

Change-Id: I91ce0c6e4f449b414a3be3f22db87f7ad6897642
3 files changed