Yes, “louro” is an affectionate and close way of refering to a parrot (normally a domesticated one). The name of the song (“lôro”) is closer to the way we say it, albeit formally incorrect. A common sentence when talking to a “lôro” is “dá o pé, lôro”.