component: fix bug with legacy API
component: fix bug with legacy API

Sachin Kamat reports that "component: add support for component match
array" broke Exynos DRM due to a NULL pointer deref.  Fix this.

Reported-by: Sachin Kamat <1c3b1584a6008857f36c03c58f657c0fc16fc09e@samsung.com>
Tested-by: Sachin Kamat <1c3b1584a6008857f36c03c58f657c0fc16fc09e@samsung.com>
Signed-off-by: Russell King <f6aa0246ff943bfa8602cdf60d40c481b38ed232@arm.linux.org.uk>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs