Introduce changes which are forward-compatible with Vue3 compat build

This is an issue to track all minor changes MRs made in gitlab-ui codebase to be forward-compatible with @vue/compat which are small and do not require major separate issue

Edited by Illya Klymov