wakelock: lock blacklist rb_tree when matching.

Change-Id: I5d305c8c752af42afb4ebddf44aa0bf4e3c804ee