staging: android: lowmemorykiller: port enhanced lmk routine

Change-Id: If677465be5a102481fe2ed777c37a4bf3d4b6c95