[PATCH v2 06/10] firmware: arm_ffa: Make memory apis ffa_device independent