gpulib: add a "borderless" option to restore old behavior