Fix infinite loop in v4l2 plugin

With no device present the capability callbacks would cause an
infinite loop.