Remove library function from decode routine

Instead of calling a math function, we can just shift things around.

Speed up is over 2x from the previous version.

Adapted from: https://github.com/yinqiwen/geohash-int/commit/97b79f11aaec34a5516672dae29f95c7447242db