gibbslda: fix compile

Closes #34678.