[Git][cmucl/cmucl][issue-435-add-core-math-lisp-support] Refactor the common bits of def-math-rtn