element: remove useless ret test
The ret test is unrelevant and confusing. We dont want the code to fail and the register to succeed by example. In the case of a conditional element_init, the element should be defined with GST_ELEMENT_REGISTER_DEFINE_CUSTOM instead of GST_ELEMENT_REGISTER_DEFINE_WITH_CODE.
Thx to the contribution of @mildsunrise in !767 (closed)
Edited by Stéphane Cerveau