lowmemorykiller: Change to use for_each_thread()

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>