Fix reporting of warning line numbers for missing dynamic and discontiguous directives for the changes to the compiler stages