strict-aliasing psd modular development (1/2) and fix some race conditions in graphite