Add an init encoded fields threshold to compiler

Add a check for the number of encoded fields when initializing app
images and fail the initialization if too much encoded fields are
presented. This helps against the adversary applications and reduce
compiling time on test case 056.

Bug: 62337922
Test: art-host-test -j64
Change-Id: I9f24fbe5ada473ec415459a36b0c22d2f504af62
1 file changed