On the Conditions for Neutron-rich Gamma-Ray Burst Outflows