The button location is part of the UI layout of a program. With other words, this can only be changed by changing code or a specific UI data file, depending on how it was programmed.
So, unless you want to change the code and recompile Gimp, no, you won’t be able to change it.