Spin-polarized calculations and hyperfine parameters for hydrogen or muonium in GaAs