IB/hfi1: Clean up type used and casting