A bomb disposal team were called to a Dorset beach after an ordnance was found under a cliff by a member of the public.