devel/hpx: fix build with GCC-based architectures
PR: 237381 Submitted by: Piotr Kubaj <pkubaj@FreeBSD.org>