[cmake] Move HandleOutOfTreeLLVM to common cmake utils