It does not seem possible to dynamically adjust module defaults upon import using Lua. (See here for details.)
In the end, I defined a shortcut that sets the right crop to 32. This is possible directly within the GUI. Now I can apply the crop whenever necessary (curiously, the band of pixels is not always present). This is not a perfect solution, but it will do.