[PATCH OLK-6.6 038/244] platform/mellanox: Add null pointer checks for devm_kasprintf()