m4: use hw_get_module_by_class and update camerawrapper

Change-Id: I07a0528383d75dcad8d021200f6f075a1dc59405