Effect of sea quarks on the single-spin asymmetries ALW± in polarized pp collisions at RHIC