A second suspect has been charged in connection with the death of a 16-year-old boy who was fatally stabbed on a North Ayrshire beach.