Add primop to query for pinned-ness of a ByteArray
It would be useful to have,
isPinnedByteArray# :: MutableByteArray# -> Int#
This, for instance, allows one to construct a ByteString
from a ByteArray
in an opportunistically zero-copy manner.