[PATCH v6 4/7] win32u: Split hardware message window lookup to a separate helper.