Revert "camera: don't use hw_get_module_by_class"

This reverts commit 4e4b17d08687691eb6d9b7802069ddfc289bbe89.

Change-Id: I03e94030ee268f7a3a3816a22e756a264903247e