mm7x27a-common: use set_perm and not set_metadata for setting permission

Change-Id: Iad9a05e75024c1bc9d42c4f8725aea3a07b6cf5e