It is currently not possible to transfer the license as it is per platform.
You can however contact avast and ask them if they are willing to convert it into a license for the MAC.
As far as we (volunteers) know, avast is currently working on a x-platform license.