If the frame count is not dividable by 4, there are extra frames added to keep a padding. This is true for F355 (450 frames -> 2 extra frames) and others. Also move CD_TRACK_PADDING to chd.cpp to work around problems with including from C and C++.