devel/gn: Fix build on 11.4 and 11-STABLE
PR: 249504 Submitted by: Oleh Hushchenkov <o.hushchenkov@gmail.com> (maintainer)