interactive-wayland: fallback to ftruncate() if needed