[PATCH 37/52] IB/hfi1: Fix memory leaks in sysfs registration and unregistration