shader: Handle reallocation when filling the offset buffer
In some cases the strbuf_appendf is allocating another buffer and thus changing offset_buf.buf which is already cached a few lines above, update its value to be sure to use the right value.
Edited by Corentin Noël