Don't check package for JavaScriptComponentState subclass (#13282).

Change-Id: I1b4b8d480fca47d4b7d18f9383f61af37264f738