Removing the encryption-related options in the device's fstab should be the easiest way to disable encryption without complicated, bug-prone edits to source code.
You can see examples of an fstab entry for userdata here.
userdata