Shell is investigating after unexploded ordnance was discovered during an inspection of the Flags pipeline near Shetland.