[platform] Fix style errors of "header_guard" and "ending_newline"
Created attachment 317689 [details] Patch