localize the use of CONFIG_DEPENDENT_HORZTILES

This commit changes is_inside() function to reduce the code polution
of CONFIG_DEPENDENT_HORZTILES.

Change-Id: Ic065cc337e0246379d87966a49ddeb48b975c5be
4 files changed