[PATCH 6.6 053/150] nvme: introduce helper function to get ctrl state