input: fix recents opening when waking the device with the home button without lockscreen

Port from ics
http://review.cyanogenmod.com/#/c/18584/

Change-Id: I354ace2a3b37bd336d2806b941f779538bc96c74