examples: Fix warnings of allocate_module_test.
examples: Fix warnings of allocate_module_test.

Odie/cmocka,lsjostro/cmocka,linuxmaniac/cmocka,nuumio/cmocka,tyc/cmocka,VladimirTyrin/cmocka,jhrozek/cmocka,dsch/cmocka,nuumio/cmocka,jhrozek/cmocka,chadversary/cmocka,JonathonReinhart/cmocka,wingyplus/cmocka,JonathonReinhart/cmocka,Odie/cmocka,clibs/cmocka,linuxmaniac/cmocka,clibs/cmocka,nuumio/cmocka,VladimirTyrin/cmocka,Odie/cmocka,aleksandr-vin/cmock,tyc/cmocka,jschmidlapp/cmocka,jhrozek/cmocka,jschmidlapp/cmocka,jamesmunns/CMocka,aleksandr-vin/cmock,chadversary/cmocka,akikoskinen/cmocka,lsjostro/cmocka,jamesmunns/CMocka,tyc/cmocka,jschmidlapp/cmocka,dsch/cmocka,wingyplus/cmocka