Make cycle(staticarray) @safe

Change cycle's implementation for static arrays to use a slice over
the static array rather than pointers and pointer indexing.  Costs
an extra word (that's unused in non-bounds-checking mode) but
gains checkable @safe-ty.