mesa: add no error support to frame_buffer_texture_layer() helper