Fix decreasing loop.

As pointed out by rickyz@, we were comparing past the beginning of the
array.

Also add a bunch of unit tests for the label functionality.

Bug: 31955943
Test: syscall_filter_unittest

Change-Id: Iece922372c6548aff36cf2f2650e37d2f25eaae7
5 files changed