science/cp2k: fix build with GCC-based architectures
PR: 237147 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl>