Fixes a bug where the wrong name was being used for header parameters in the Android code generator.

This is the same fix that was made to the Java generator a while back.