[PATCH 4.9 21/32] IB/hfi1: Fix NULL pointer dereference when invalid num_vls is used