arpa_slm.cpp: remove unused compat function.
slminfo.cpp: reconstruct boilerplate code about log/exp conversion.