Fix compilation after recent declarative internal header changes


Some types of the private declarative API became visible through implicit
header file inclusion from qqmlengine_p.h. This was changed in declarative
and requires fixing here, but it's backwards build compatible to before
the changes in declarative.

Change-Id: I3553fada4363e88191c127f9cabae2169916ae46
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
commit96292dc44814e01c4090b7ba5699a67b8736db26
parent6eef6e961bada90cdbfd5ef8539eecadf493d7d3
authorSimon Hausmann <simon.hausmann@qt.io>
committerSimon Hausmann <simon.hausmann@qt.io>
commit timeWed, 17 Jul 2019 11:22:37 +0000