[PATCH v3 1/7] scripts: Port Linux's gen_compile_commands.py to U-Boot