staging: android: lowmemorykiller: port enhanced lmk routine

Change-Id: I4e8d964dfee662667e09c5c7a08d7446318514ac