[sam] Fixed regression in analogRead() (fails to read multiple channels)

Fixes #1740