Leica LIF: fix support for new files with 0 padding

Fixes #12144
Merge pull request #1382 from melissalinkert/new-leica-lif

Leica LIF: fix support for new files with 0 padding