Cast away const in Pointer.fromPointer