[PATCH v5 3/6] win32u: Split hardware message window lookup to a separate helper.