Fix NPE on checkapi with malformed text input

ApiCheck.checkApi() was returning null on malformed text API files,
but the calling code expects a ApiParseException.

Bug: 21698572

Change-Id: I625cc5ddcee5fd287709ff3ffbed9c1dd339abed
1 file changed