[PATCH OLK-6.6 376/470] nvme: introduce helper function to get ctrl state