[emufnc] fix possible compiler warning
[emufnc] return exact '-1' instead of other negative values in dll_read() and dll_write()