Remove cast warnings on OSX with LLVM : first step

finish to close https://github.com/christopho/solarus/issues/75