Issue #2242801: Set forms as #immutable per Form API introduced in Drupal 6.31 (based on patch by znerol, David_Rothstein).