Fix clang build if CC is not in the path.
Fix clang build if CC is not in the path.

If CC points to clang the linker was set to ld.lld. Copy the diectory
name from CC is it has one.

Change-Id: I50aef5dddee4d2540b12b6d4e68068ad004446f7
Signed-off-by: Arve Hjønnevåg <203686835f49d1750fcbb70065cda5c503139a61@android.com>

achingupta/arm-trusted-firmware,achingupta/arm-trusted-firmware