nine/texture: fix resource type in base ctor for cube,volume