graphics/filament: Fix build when ccache is present
Fix shabangs in ccache scripts that fialement uses.
This caused failures.
Also: this project looks up the ccache program and uses ccach.
when it is present.
This logic is now adjusted and it only uses ccache when it
is enabled through the ports framework.
PR: 266297
Reported by: amdmi3@