hevc: Use uint64 to check for tile dimensions