lua: fix compilation with Blackfin FLAT

the dlfcn interface is not available with flat memory model

see http://autobuild.buildroot.net/results/b41/b4146bf821d59f694546f6e3a341394cc8fa43ce/