Footage posted online showed a bare-chested man, believed to be the suspect, roaming streets of the Scottish capital with a large weapon