Apt fixes

Some fixes to the 3DS APT:U service HLE emulation. Tested on various apps. CF 3dmoo. Not much else to say here...
What is this?