AkRanges: fix deduction of result type of transform()

Authored by dvratil on Dec 19 2018, 9:52 PM.