Better implement enable_expmem toggle - don't lookup ConfigGetParamInt whenever we call dma_pi_write