Update: This will only be needed if you're running OpenOCD from before Jan 16 2015 on Big Endian machines. The problem is fixed in later builds.
I'm not sure this applies to all STMicroelectronics STM32F4 Discovery boards, but it does to mine…