A dog had to be rescued above the A55 at Pen-Y-Clip headland