[ticket/12505] Mark outdated media constants as deprecated

PHPBB3-12505