Don't try to use pow(int,int)

When building for android or older MSVC versions, this makes the build
fail, when it is ambiguous which pow() overload to use, when there
is no function matching pow(int, int).
Merge pull request #1486 from mstorsjo/fix-pow-params

Don't try to use pow(int,int)