math/octave: fix build on armv7
Restore a patch due to mikael@ that was mangled in a previous update.
Fixes: 6473aac25b6dc63be299faa4fc1ed9cde77f1957
Approved by: portmgr (build fix blanket)
MFH: 2025Q1
PR: 223277
(cherry picked from commit 6db8884be4287fe981d15bda1414417cc0c6b181)