GDS-1275: Improve AMF3 (de)serialization performance.
Misc minor warning fixes.