math/octave: Add missing library dependencies.
PR: 256996 Reported by: Philipp Ost <bsd@philippost.de>