[mkgmap-dev] Commit r4160: correct check for indexes when doing bicubic interpolation