This allows to get rid of the hardcoded helper functions in BKE.
Since I'll have to add a tile parameter for the UDIM code anyways, I decided to solve it propertly.
I'm not particularly happy with the int array hack, but it works just fine and I think it's still cleaner than before.