ByteArray: don't call eval() just to retrieve a prototype

If using a global variable to store ByteArray.prototype is wrong,
we can use a slot on the global object.

https://bugzilla.gnome.org/show_bug.cgi?id=722286