IB/hfi1: checking for NULL instead of IS_ERR