Shift elements of an integer array to the right N positions.