makechrootpkg: Ensure we have a writable PKGBUILD

For pkgver updates.