dct/rdft: Add missing typedefs for context structs

Without the typedefs there can be trouble depending on #include order.