A Nigerian aircraft and its crew, who were detained by Burkinabe authorities over an allegation of violating Burkinabe airspace, have been released.