Inlining fft_check_error

Required for use in several object files