MediaCodec: change exception type

As suggested in API review, change IllegalArgumentException
to NullPointerException for the case when the argument is null.

Bug: 123569725
Test: make
Change-Id: I4f0d6fd609b1c2f2096fe0f610804f49432cb650
1 file changed