Basically you can only correct it for code you call yourself (just correct the code and put it in a unit of your own).
However, any place where an fpc unit calls it, it'll call the bugged implementation.
For a more thorough sulution yYou can fix the code in fpc main, build fpc and build the cross compiler for wince and install that home-brew version.
Bart