Jet production in (un)polarized pp collisions: dependence on jet algorithm