Catch SecurityException thrown from job binding

In some circumstances, a SecurityException can be thrown by
bindService() even when called by the OS itself.  If this happens when
starting up a scheduled job, make sure to catch and handle the exception
rather than allowing the system server to crash.

Fixes: 134893684
Test: atest CtsJobSchedulerTestCases
Change-Id: Ib0dd2df5d48e13e7b7c75d7117d0ffa361b000ce
1 file changed