batchdelete: decode location.pathname before using it as gapprefix

Would cause double percent-encoding and `apinvalidtitle`.