An incomplete artwork at Scarborough Castle has been created in the shape of a dolos — to highlight the threat of coastal erosion.