Fixes a support issue when serializing ArrayBuffers to base64 prior to iOS 6.0

It seems you can't target Uint8Array with an `.apply` function prior to iOS. This workaround solves both problems as shown here:

https://github.com/mozilla/pdf.js/issues/1820