An RAF crew from Wales flew more than 260 miles to aid in the rescue of five climbers in the Cairngorms after two avalanches.