batchdelete: decode location.pathname before using it as gapprefix

Would cause double percent-encoding and apinvalidtitle.
batchdelete: use decodeURIComponent instead for decoding pathname

Pages like [[E=mc^2]] would fail with decodeURI.
Fix typo