iris: Add helper functions to get tile offset