Fill parent_macro in case of executing XML hooks (sequencer)
XML hooks, usually composed by the sequencer, as other hooks (programmatic or general), needs information about the parent macro. Fill it when preparing the macro object. See #1472 (closed) for more details.