Shared scalar allocations on gpu have size 1
Fix printing of buffer_t extent and stride