Create a symlink pointing to a variable filepath

Just symlink to /usr/local/opt/macvim/MacVim.app instead, this path remains stable (/usr/local/opt/macvim is a symlink maintained by HomeBrew which points to the currently installed version within /usr/local/Cellar/macvim).