gibbslda: fix compile

Closes #34678.
Has this been submitted upstream?