Fix a potential memory leak

Our analyzer spotted a potential memory leak here: if GetFields() is
zero length, we'll leak our freshly-allocated `sizeCheck`:
system/tools/aidl/generate_java.cpp:215:3: warning: Potential leak of
memory pointed to by 'sizeCheck'
[clang-analyzer-cplusplus.NewDeleteLeaks]

`new`ing it up lazily makes the leak go away.

Bug: None
Test: Ran the analyzer; memory leak warning is gone.
Change-Id: Iafbacbf5c2da1a41bc9d83f6d91fdfefed9dc27a
1 file changed