fix builds made with Clang on some Linux distros
fix builds made with Clang on some Linux distros

This is the same as #23542 (Fix binaries incorrectly detected as shared
libraries on some linux distros) but for Clang. It should be fine with
Clang 4 or higher.

akien-mga/godot,Faless/godot,MarianoGnu/godot,pkowal1982/godot,MarianoGnu/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,honix/godot,Valentactive/godot,Valentactive/godot,godotengine/godot,honix/godot,guilhermefelipecgs/godot,groud/godot,honix/godot,sanikoyes/godot,DmitriySalnikov/godot,Paulloz/godot,honix/godot,ZuBsPaCe/godot,godotengine/godot,guilhermefelipecgs/godot,DmitriySalnikov/godot,firefly2442/godot,guilhermefelipecgs/godot,josempans/godot,MarianoGnu/godot,honix/godot,pkowal1982/godot,Faless/godot,Valentactive/godot,Zylann/godot,vnen/godot,vnen/godot,ex/godot,Zylann/godot,Paulloz/godot,guilhermefelipecgs/godot,groud/godot,Zylann/godot,Zylann/godot,Zylann/godot,sanikoyes/godot,vnen/godot,Paulloz/godot,Shockblast/godot,josempans/godot,Valentactive/godot,DmitriySalnikov/godot,Valentactive/godot,firefly2442/godot,Paulloz/godot,vkbsb/godot,DmitriySalnikov/godot,DmitriySalnikov/godot,MarianoGnu/godot,Paulloz/godot,guilhermefelipecgs/godot,firefly2442/godot,MarianoGnu/godot,josempans/godot,josempans/godot,firefly2442/godot,ZuBsPaCe/godot,vnen/godot,ZuBsPaCe/godot,Zylann/godot,josempans/godot,Faless/godot,BastiaanOlij/godot,godotengine/godot,sanikoyes/godot,Faless/godot,vkbsb/godot,ZuBsPaCe/godot,akien-mga/godot,honix/godot,vnen/godot,groud/godot,akien-mga/godot,sanikoyes/godot,Shockblast/godot,BastiaanOlij/godot,Faless/godot,Faless/godot,sanikoyes/godot,guilhermefelipecgs/godot,pkowal1982/godot,akien-mga/godot,sanikoyes/godot,Shockblast/godot,vnen/godot,ZuBsPaCe/godot,Valentactive/godot,ex/godot,josempans/godot,vkbsb/godot,Valentactive/godot,josempans/godot,vkbsb/godot,firefly2442/godot,BastiaanOlij/godot,groud/godot,ZuBsPaCe/godot,pkowal1982/godot,MarianoGnu/godot,sanikoyes/godot,ex/godot,pkowal1982/godot,ex/godot,godotengine/godot,akien-mga/godot,vkbsb/godot,MarianoGnu/godot,Zylann/godot,ZuBsPaCe/godot,firefly2442/godot,vkbsb/godot,vkbsb/godot,ZuBsPaCe/godot,Shockblast/godot,BastiaanOlij/godot,vkbsb/godot,BastiaanOlij/godot,pkowal1982/godot,godotengine/godot,groud/godot,josempans/godot,DmitriySalnikov/godot,akien-mga/godot,firefly2442/godot,ex/godot,vnen/godot,firefly2442/godot,godotengine/godot,DmitriySalnikov/godot,pkowal1982/godot,akien-mga/godot,godotengine/godot,ex/godot,vnen/godot,Faless/godot,godotengine/godot,sanikoyes/godot,Zylann/godot,Shockblast/godot,Valentactive/godot,Shockblast/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,Shockblast/godot,groud/godot,Paulloz/godot,akien-mga/godot,Paulloz/godot,pkowal1982/godot,BastiaanOlij/godot,ex/godot,ex/godot,Shockblast/godot,MarianoGnu/godot,Faless/godot