[PJRT] Add hashing, equality checking, and pickling to PjRtLayout.
[PJRT] Add hashing, equality checking, and pickling to PjRtLayout.

This could really use some tests. However, we don't have a good way to
produce PjRtLayout objects in xla_client_test yet, so I'm giving up
for now.
