Reported ruling by high court in Accra is apparently the first time foreign officials have been imprisoned for dealing with controversial surveillance firm