Gatan: fix physical dimension parsing when the Z size is missing

Fixes #12478.
Merge pull request #1317 from melissalinkert/ticket-12478

Gatan: fix physical dimension parsing when the Z size is missing