mesa: fix function remapping for dlist