hal/sm_io/modules/swap/*: separate exported function descriptors

Final step to fix #48 github issue