Depend on use-ephemeral

mariadb-common and mysql both use `register-state-path` which is part of
the use-ephemeral element, but they don't explicitly depend on that
element.

Change-Id: I036ff341ccaf70d4c5c2a6629d0163e614023a62