gpu: avoid private memory if unrolling is needed and any_force_private is set