PNaClContext: fixed bug in get with arrays of different shape or data type