util: support also long as type autodetected

it's the same as an int

also force andorcam3 to return an int whenever possible (mostly for prettiness when displaying raw values)