Spin-polarized proton acceleration by an intense laser pulse with a foil-gas target