[PATCH 4.19 226/422] component: fix loop condition to call unbind() if bind() fails