Add analog pin to channel mapping macro

This allows passing normal ("digital") pin numbers to analogRead as
well. E.g. to read from pin A0, you can now not only do analogRead(0),
but also analogRead(A0) or analogRead(24).