Small changes to prevent compiler warnings

Added a cast and removed an unused variable.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>
Removed unused file ca-llvm.h

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>