Merge pull request #9196 from ronald-cron-arm/check-framework-files-3.6

[Backport 3.6] Extend basic checks and C coding style check to framework files