rtgui_system: always detach ack_mb in rtgui_thread_send_sync
The old code won't detach ack_mb if error occurs. Fix it.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1807 bbd45198-f89e-11dd-88c7-29a3b14d5316
chaos.proton@gmail.com%!s(int64=14) %!d(string=hai) anos