use double instead of FLAC__real in some places internally; add explicit casts for some implicit cases