The first prehistoric images of their kind to be found in Scotland were discovered by chance inside a cairn.