Fixed most warnings (excluding unused functions and vars) in class.* and p/anal_java