It's a years-old bug I only noticed when I started backporting PBR... It does tell you how many times I have been using shadows...
I know it is years-old, because when I tried to find a release that did work, I could not find any (went back to 1.26.0, to no avail).
I resynced the shadows ALM code with LL's (at that time PBR was not yet released), but this did not change a thing, and I could not find the bug.
Given that I don't use shadows much and do not really care about local light shadows, that no one ever complained or even noticed (until now

), and that anyway ALM is doomed to be replaced with PBR in the end (e.g. when a Vulkan renderer will be implemented), I did not bother trying and chasing down this bug...