EZP-21036: fixed using magic class constant from abstract class