Searches of the River Liffey are underway after a firearm was discarded.