llvmpipe: fix bogus handling of first_layer when setting up texture sampling