Compiler: asserting bag_elem_p in ::gc_c_bag

Change-Id: I8499801df1f83c42f86542e5f1e4cb540ab10906