Temporary patch to accept arbitrary lifetimes (behind feature gate) in bounds lists

This is needed to bootstrap fix for #5723.