AP_Param: use const refs in a few more places

reduces code size by a couple of hundred bytes