relaxed HasImageLayout definition to be compatible with andi's new array reinterpretation implementation