Prevent supervisor from utilizing most of the CPU
Prevent supervisor from utilizing most of the CPU

In the case where an application is in a 'D' process state (uninterruptible),
supervisor will continually try to kill the process until most of the CPU
is used up. This fix is prevent supervisor from entering this state by checking
the processes state before attempting to kill it.

Resolves: LE-11760
Change-Id: If458245d8b7771dca49c33bdc2d0c5a594c97ea7

legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af,legatoproject/legato-af