Remove some unused *SUBMIT_* defines and ifdefs.