Do not dereference a NULL pointer when retrieving the base level image of an empty 2D array texture. TRAC #23957 Signed-off-by: Geoff Lang Signed-off-by: Shannon Woods